package com.fy56.platform.logistics.restful.api.controller.gmms;

import com.fy56.platform.logistics.common.ResultModel;
import com.wordnik.swagger.annotations.Api;
import com.wordnik.swagger.annotations.ApiOperation;
import org.apache.log4j.Logger;
import org.springframework.http.HttpStatus;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;


/*
 * @项目名称：
 * @类名称：GmmsMemberController
 * @类描述：
 * @创建人：
 * @作者单位：哈尔滨飞扬软件技术有限公司
 * --------------------------------------
 * @创建时间：2019-04-16 16:54:15
 * @version：1.0.0
 */
@Api(value = "GmmsMemberController", description = "仓配小程序用户接口", produces = MediaType.APPLICATION_JSON_VALUE)
@RestController
@RequestMapping("/gmmsMemberController")
public class GmmsMemberController {

    // 日志工具类
    private static Logger logger = Logger.getLogger(GmmsMemberController.class);

    @RequestMapping(value = "/register", method = RequestMethod.POST)
    @ApiOperation(value = "注册")
    public ResponseEntity register(@RequestParam String data) {
        ResultModel result = null;
        try{

        }catch (Exception ex){
            result = new ResultModel(101, "仓配小程序用户注册-register：" + ex.getMessage(),null);
            logger.error("仓配小程序用户注册-register：",ex);
        }
        return new ResponseEntity<>(result, HttpStatus.OK);
    }


}
